<?php
/* Smarty version 3.1.29, created on 2017-07-01 19:28:45
  from "D:\amp\web\mvc_blog\app\admin\view\User\userIndex.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5957876d71a624_65292125',
  'file_dependency' => 
  array (
    '466b4cc29c549fb8d6c597c3872c50785084faf8' => 
    array (
      0 => 'D:\\amp\\web\\mvc_blog\\app\\admin\\view\\User\\userIndex.html',
      1 => 1498862224,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:public/head.html' => 1,
    'file:public/ghead.html' => 1,
    'file:public/nav.html' => 1,
    'file:public/footer.html' => 1,
  ),
),false)) {
function content_5957876d71a624_65292125 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once 'D:\\amp\\web\\mvc_blog\\public\\smarty\\plugins\\modifier.date_format.php';
?>

<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:public/head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<div class="wrapper">

    <!-- START HEADER -->
    
    <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:public/ghead.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <!-- END HEADER -->

    <!-- START MAIN -->
    <div id="main">
        <!-- START SIDEBAR -->
        
        <?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:public/nav.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
         
        <!-- END SIDEBAR -->
        <!-- START PAGE -->
        <div id="page">
            <!-- start page title -->
            <div class="page-title">
                <div class="in">
                    <div class="titlebar">	<h2>用户管理</h2>	<p>用户列表</p></div>

                    <div class="clear"></div>
                </div>
            </div>
            <!-- end page title -->

            <!-- START CONTENT -->
            <div class="content">
                <!-- START TABLE -->
                <div class="simplebox grid740">

                    <div class="titleh">
                        <h3>用户列表</h3>
                    </div>

                    <table id="myTable" class="tablesorter">
                        <thead>
                        <tr>
                            <th>序号</th>
                            <th>#ID</th>
                            <th>用户名</th>
                            <th>注册时间</th>
                            <th>上次登录时间</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php
$_from = $_smarty_tpl->tpl_vars['rows']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_f1_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_foreach_f1']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_f1'] : false;
$__foreach_f1_0_saved_item = isset($_smarty_tpl->tpl_vars['row']) ? $_smarty_tpl->tpl_vars['row'] : false;
$__foreach_f1_0_saved_key = isset($_smarty_tpl->tpl_vars['k']) ? $_smarty_tpl->tpl_vars['k'] : false;
$_smarty_tpl->tpl_vars['row'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['__smarty_foreach_f1'] = new Smarty_Variable(array('iteration' => 0));
$_smarty_tpl->tpl_vars['k'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['row']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['row']->value) {
$_smarty_tpl->tpl_vars['row']->_loop = true;
$_smarty_tpl->tpl_vars['__smarty_foreach_f1']->value['iteration']++;
$__foreach_f1_0_saved_local_item = $_smarty_tpl->tpl_vars['row'];
?>
                        <tr>
                            <td><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_foreach_f1']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_f1']->value['iteration'] : null);?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['row']->value['account'];?>
</td>
                            <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['regtime'],'%Y-%m-%d %H-%M');?>
</td>
                            <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['logintime'],'%Y-%m-%d %H-%M');?>
</td>
                            <td>
                                <a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
?p=admin&m=Admin&a=del&id=<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">删除</a>
                                <a href="<?php echo $_smarty_tpl->tpl_vars['url']->value;?>
?p=admin&m=Admin&a=showUpd&id=<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">编辑</a>
                              </td>
                        </tr>
                        <?php
$_smarty_tpl->tpl_vars['row'] = $__foreach_f1_0_saved_local_item;
}
if ($__foreach_f1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_foreach_f1'] = $__foreach_f1_0_saved;
}
if ($__foreach_f1_0_saved_item) {
$_smarty_tpl->tpl_vars['row'] = $__foreach_f1_0_saved_item;
}
if ($__foreach_f1_0_saved_key) {
$_smarty_tpl->tpl_vars['k'] = $__foreach_f1_0_saved_key;
}
?>
                        </tbody>
                    </table>
                    <ul class="pagination">
                        <?php echo $_smarty_tpl->tpl_vars['strPage']->value;?>

                    </ul>
                </div>
                <!-- END TABLE -->
            </div>
            <!-- END CONTENT -->
        </div>
        <!-- END PAGE -->
        <div class="clear"></div>
    </div>
    <!-- END MAIN -->

   
<?php $_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

    <!-- END FOOTER -->
<?php }
}
